﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace MusicService
{
    [ServiceContract]
    interface ICommentService
    {
        [OperationContract]
        bool addComment(string commentContent, DateTime createDate, string userID, string trackID);

        [OperationContract]
        bool removeComment(string commentID);

        [OperationContract]
        bool updateComment(string commentID,string commentContent, DateTime createDate, string userID, string trackID);

        [OperationContract]
        List<Comment> getAllComment();

        [OperationContract]
        Comment getRoleByTrackID(string trackID);
    }
}
